const materialColumns = [
  //  物资需求
  {
    title: '序号',
    scopedSlots: {customRender: 'index'},
    width:80
  },
  {
    title: '物资名称',
    dataIndex: 'materialName',
    scopedSlots: { customRender: 'materialName' }
  },
  // {
  //   title: '物料编码',
  //   dataIndex: 'materialCode',
  //   scopedSlots: { customRender: 'materialCode' }
  // },
  {
    title: '规格型号',
    dataIndex: 'materialModel',
    width:'120px',
    scopedSlots: { customRender: 'materialModel' }
  },

  {
    title: '计量单位',
    dataIndex: 'materialUnit',
    width:'120px',
    scopedSlots: { customRender: 'materialUnit' }
  },
  {
    title: '计划数量',
    dataIndex: 'planNum',
    width:'120px',
    scopedSlots: { customRender: 'planNum' }
  },
  {
    title: '计划进场日期',
    dataIndex: 'planIntoDate',
    width:'170px',
    scopedSlots: { customRender: 'planIntoDate' }
  },
  {
    title: '使用部位',
    dataIndex: 'useSite',
    width:'140px',
    scopedSlots: { customRender: 'useSite' }
  },
  {
    title: '备注',
    dataIndex: 'remarks',
    scopedSlots: { customRender: 'remarks' }
  }
]

//  导出全部列
const exportColumns = [

  {
    title: '序号',
    scopedSlots: {customRender: 'index'},
  },
  {
    title: '物资名称',
    dataIndex: 'materialName',
  },
  {
    title: '规格型号',
    dataIndex: 'materialModel',
  },

  {
    title: '计量单位',
    dataIndex: 'materialUnit',
  },
  {
    title: '计划数量',
    dataIndex: 'planNum',
  },
  {
    title: '计划进场日期',
    dataIndex: 'planIntoDate',
  },
  {
    title: '使用部位',
    dataIndex: 'useSite',
  },
  {
    title: '备注',
    dataIndex: 'remarks',
  },
  {
    title: '项目名称',
    dataIndex: 'projectName',
  },
  {
    title: '计划编号',
    dataIndex: 'planNo',
  },
  {
    title: '联系人',
    dataIndex: 'contractPerson',
  },
  {
    title: '联系电话',
    dataIndex: 'contractPhone',
  },
  {
    title: '计划时间',
    dataIndex: 'planTime',
  },
  {
    title: '创建人',
    dataIndex: 'createPerson',
  },
  {
    title: '创建时间',
    dataIndex: 'createTime',
  }
]
export { materialColumns,exportColumns }
